package com.joysuch.wwyt.risk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author heqifeng
 * @since 2021-09-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_risk_measure_type")
@ApiModel(value="RiskMeasureType对象", description="")
public class RiskMeasureType extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 排序
    private Integer sort;

    @NonNull
    @ApiModelProperty(value = "管控措施类型名称")
    private String measureTypeName;

    @ApiModelProperty(value = "父类型id")
    private Long parentId;
    //类型级别： 1， 2,3
    private Integer typeLevel;
}
